-
Getting Started
- Installation
- Hello, World!
- Hello, Cargo!
-
Programming a Guessing Game
-
Common Programming Concepts
- Data Types
- Functions
- Comments
- Control Flow
-
Understanding Ownership
- What is Ownership
- References and Borrowing
- Fixing Ownership Errors
- The Slice Type
-
Using Structs to Structure Related Data
- Defining and Instantiating Structs
- An Example Program Using Structs
- Method Syntax
-
Enums and Pattern Matching
- Defining an Enum
- The match Control Flow Construct
- Concise Control Flow with if let
- Ownership Inventory
-
Managing Growing Projects with Packages, Crates, and Modules
- Packages and Crates
- Defining Modules to Control Scope and Privacy
- Paths for Referring to an Item in the Module Tree
- Bringing Paths into Scope with the use Keyword
- Separating Modules into Different Files